package com.ita.dao.impl;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.ita.dao.FoodTypeDao;
import com.ita.pojo.FoodType;

@Repository(value = "foodTypeDao")
public class FoodTypeDaoImpl extends BaseDaoImpl<FoodType> implements FoodTypeDao{

	@Override
	public List<FoodType> loadFoodType() {
		String jpql="from FoodType";
		List<FoodType> result=em.createQuery(jpql).getResultList();
		return result;
	}

}
